import axios from '../utils/request'

import baseUrl from './apiUrl'


// 登录请求
function login(data){
    return axios({
        url: baseUrl+'/login/cellphone',
        data:data
    })
}

// 个人歌单
function proFile(data){
    return axios({
        url: baseUrl+'/user/playlist',
        data:data
    })
}
// 获取创建的歌单和收藏歌单的个数
function subCount(data){
    return axios({
        url: baseUrl+'/user/subcount',
        data:data
    })
}



module.exports = {
    proFile:proFile,
    login:login,
    subCount:subCount
}